package com.rc.saas.tenant.service.channel;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.channel.RcChannelApplyMapper;
import com.rc.saas.tenant.model.channel.RcChannelApply;
import com.rc.saas.tenant.model.channel.RcChannelApplyExample;

import java.util.List;

public interface RcChannelApplyService extends BaseService<Long, RcChannelApply, RcChannelApplyExample, RcChannelApplyMapper> {
    PageInfo listPageChannelApply(Long entpriseId, String channelName, Integer pageNo, Integer pageSize);

    void updateChannelApplyForAudit(Long channelApplyId, String applyStatus, String remark);

    void deleteChannelApply(Long id);

    RcChannelApply selectChannelApplyByChannel(String channel);

    void insertReturnId(RcChannelApply rcChannelApply);

    void updateEnterpriseId(RcChannelApply channelApply);
}
